from django.conf.urls.defaults import patterns, include, url

# Uncomment the next two lines to enable the admin:
from django.contrib import admin
from django.conf import settings

admin.autodiscover()

urlpatterns = patterns('',
    # Examples:
    url(r'^media/(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT }),
    url(r'^$', 'TicHackToe.THT.views.displayUserLogin', name='displayUserLogin'),
    url(r'^login$', 'TicHackToe.THT.views.displayUserLogin', name='displayUserLogin'),
    url(r'^userlogin$', 'TicHackToe.THT.views.userlogin', name='userlogin'),
    url(r'^register$', 'TicHackToe.THT.views.displayUserRegister', name='displayUserRegister'),
    url(r'^userRegister$', 'TicHackToe.THT.views.userRegister', name='userRegister'),
    url(r'^main$', 'TicHackToe.THT.views.main', name='main'),
    url(r'^logout$', 'TicHackToe.THT.views.logoutUser', name='logoutUser'),
    url(r'^sitAtTable$', 'TicHackToe.THT.views.sitAtTable', name='sitAtTable'),
    url(r'^game$', 'TicHackToe.THT.views.game', name='game'),
    # url(r'^TicHackToe/', include('TicHackToe.foo.urls')),
    # Uncomment the admin/doc line below to enable admin documentation:
    # url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
    # Uncomment the next line to enable the admin:
    url(r'^admin/', include(admin.site.urls)),
)
